package com.java.polymorphism.exer_1;

/**
 * @author luzhikun
 * @date 2020/12/5- 15:50
 */
public class CatTest_1 extends Animal_1 {
    public CatTest_1() {

    }

    public CatTest_1(String color, int leg) {
        super(color, leg);
    }

    public void eat() {
        System.out.println("猫吃鱼");
    }

    public void getCatch() {
        System.out.println("猫可以抓老鼠");
    }
}
